﻿using SqlSugar;

namespace LowCoding.Domain.Basic
{
    /// <summary>
    /// 字典类型
    /// </summary>
    [SugarTable("BASE_REF_C_TYPES")]
    public class BaseRefCTypes
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
        public string Id { get; set; }
        /// <summary>
        /// 企业ID
        /// </summary>
        [SugarColumn(ColumnName = "FLT_ID")]
        public string FLT_ID { get; set; }
        /// <summary>
        /// 代码类型
        /// </summary>
        [SugarColumn(ColumnName = "RV_DOMAIN")]
        public string RV_DOMAIN { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnName = "RV_NAME")]
        public string RV_NAME { get; set; }
        /// <summary>
        /// 类型  U--用户代码  S--系统代码
        /// </summary>
        [SugarColumn(ColumnName = "RV_TYPE")]
        public string RV_TYPE { get; set; }
        /// <summary>
        /// 字段长度
        /// </summary>
        [SugarColumn(ColumnName = "RV_LENGTH")]
        public string RV_LENGTH { get; set; }
        /// <summary>
        /// 是否有效
        /// </summary>
        [SugarColumn(ColumnName = "RV_ISVALID")]
        public string RV_ISVALID { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "RV_REMARK")]
        public string RV_REMARK { get; set; }
        /// <summary>
        /// 输入时间
        /// </summary>
        [SugarColumn(ColumnName = "CREATED")]
        public DateTime CREATED { get; set; }
        /// <summary>
        /// 输入员工
        /// </summary>
        [SugarColumn(ColumnName = "CREATOR")]
        public string CREATOR { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        [SugarColumn(ColumnName = "LASTMODIFIED")]
        public DateTime LASTMODIFIED { get; set; }
        /// <summary>
        /// 最后修改员工
        /// </summary>
        [SugarColumn(ColumnName = "LASTMODIFIER")]
        public string LASTMODIFIER { get; set; }
        /// <summary>
        /// 记录更新次数
        /// </summary>
        [SugarColumn(ColumnName = "VERSION")]
        public int VERSION { get; set; }
        /// <summary>
        /// 是否删除，1为逻辑删除
        /// </summary>
        [SugarColumn(ColumnName = "ISDEL", IsOnlyIgnoreUpdate = true)]
        public string Isdel { get; set; }
    }
}
